{"ast":null,"code":"import { genComponentStyleHook, mergeToken } from '../../theme/internal';\n// ============================== Shared ==============================\nconst genSharedEmptyStyle = token => {\n  const {\n    componentCls,\n    margin,\n    marginXS,\n    marginXL,\n    fontSize,\n    lineHeight\n  } = token;\n  return {\n    [componentCls]: {\n      marginInline: marginXS,\n      fontSize,\n      lineHeight,\n      textAlign: 'center',\n      // 原来 &-image 没有父子结构，现在为了外层承担我们的hashId，改成父子结果\n      [`${componentCls}-image`]: {\n        height: token.emptyImgHeight,\n        marginBottom: marginXS,\n        opacity: token.opacityImage,\n        img: {\n          height: '100%'\n        },\n        svg: {\n          height: '100%',\n          margin: 'auto'\n        }\n      },\n      // 原来 &-footer 没有父子结构，现在为了外层承担我们的hashId，改成父子结果\n      [`${componentCls}-footer`]: {\n        marginTop: margin\n      },\n      '&-normal': {\n        marginBlock: marginXL,\n        color: token.colorTextDisabled,\n        [`${componentCls}-image`]: {\n          height: token.emptyImgHeightMD\n        }\n      },\n      '&-small': {\n        marginBlock: marginXS,\n        color: token.colorTextDisabled,\n        [`${componentCls}-image`]: {\n          height: token.emptyImgHeightSM\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Empty', token => {\n  const {\n    componentCls,\n    controlHeightLG\n  } = token;\n  const emptyToken = mergeToken(token, {\n    emptyImgCls: `${componentCls}-img`,\n    emptyImgHeight: controlHeightLG * 2.5,\n    emptyImgHeightMD: controlHeightLG,\n    emptyImgHeightSM: controlHeightLG * 0.875\n  });\n  return [genSharedEmptyStyle(emptyToken)];\n});","map":{"version":3,"names":["genComponentStyleHook","mergeToken","genSharedEmptyStyle","token","componentCls","margin","marginXS","marginXL","fontSize","lineHeight","marginInline","textAlign","height","emptyImgHeight","marginBottom","opacity","opacityImage","img","svg","marginTop","marginBlock","color","colorTextDisabled","emptyImgHeightMD","emptyImgHeightSM","controlHeightLG","emptyToken","emptyImgCls"],"sources":["/data/messenger.client/node_modules/antd/es/empty/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\n// ============================== Shared ==============================\nconst genSharedEmptyStyle = token => {\n  const {\n    componentCls,\n    margin,\n    marginXS,\n    marginXL,\n    fontSize,\n    lineHeight\n  } = token;\n  return {\n    [componentCls]: {\n      marginInline: marginXS,\n      fontSize,\n      lineHeight,\n      textAlign: 'center',\n      // 原来 &-image 没有父子结构，现在为了外层承担我们的hashId，改成父子结果\n      [`${componentCls}-image`]: {\n        height: token.emptyImgHeight,\n        marginBottom: marginXS,\n        opacity: token.opacityImage,\n        img: {\n          height: '100%'\n        },\n        svg: {\n          height: '100%',\n          margin: 'auto'\n        }\n      },\n      // 原来 &-footer 没有父子结构，现在为了外层承担我们的hashId，改成父子结果\n      [`${componentCls}-footer`]: {\n        marginTop: margin\n      },\n      '&-normal': {\n        marginBlock: marginXL,\n        color: token.colorTextDisabled,\n        [`${componentCls}-image`]: {\n          height: token.emptyImgHeightMD\n        }\n      },\n      '&-small': {\n        marginBlock: marginXS,\n        color: token.colorTextDisabled,\n        [`${componentCls}-image`]: {\n          height: token.emptyImgHeightSM\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Empty', token => {\n  const {\n    componentCls,\n    controlHeightLG\n  } = token;\n  const emptyToken = mergeToken(token, {\n    emptyImgCls: `${componentCls}-img`,\n    emptyImgHeight: controlHeightLG * 2.5,\n    emptyImgHeightMD: controlHeightLG,\n    emptyImgHeightSM: controlHeightLG * 0.875\n  });\n  return [genSharedEmptyStyle(emptyToken)];\n});"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE;AACA,MAAMC,mBAAmB,GAAGC,KAAK,IAAI;EACnC,MAAM;IACJC,YAAY;IACZC,MAAM;IACNC,QAAQ;IACRC,QAAQ;IACRC,QAAQ;IACRC;EACF,CAAC,GAAGN,KAAK;EACT,OAAO;IACL,CAACC,YAAY,GAAG;MACdM,YAAY,EAAEJ,QAAQ;MACtBE,Q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